package com.dd.cloud.user.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 医生单日数据统计表
 *
 * @author Lx
 * @version 1.0
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "订单结算表")
public class OrderStatisticsDoctorDay implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 日期
     */
    @TableId(value = "date", type = IdType.INPUT)
    private LocalDate date;

    @Column(comment = "医生id")
    private Integer doctorId;

    @Column(comment = "机构id")
    private Integer mechanId;

    @Column(comment = "总订单数量")
    private Integer totalOrderCount;

    @Column(comment = "有效订单数量")
    private Integer validOrderCount;

    @Column(comment = "药品费用")
    private Integer drugFee;

    @Column(comment = "物流费用")
    private Integer expressFee;

    @Column(comment = "实付金额")
    private Integer actualPay;
}
